LearningSession.ValidateRenderPath Method

Validates that the requested path can be rendered. Throws the appropriate exception if the request is not allowed.

Parent Type: LearningSession

Namespace: Microsoft.LearningComponents

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

protected void ValidateRenderPath (
string relativePath,
string parameterName

)

Parameters

relativePath

The package-relative path that is being requested to render.

parameterName

The name of the parameter to include in any error message